import { serializeParams } from "@masx200/search-hash-params-router";

export function getlinkhrefmd(tmppath: string) {
    var href: string;
    if (process.env.PRERENDER) {
        href = "/" + serializeParams({ md: tmppath });
    } else {
        href = "#" + tmppath;
    }
    return href;
}
